package com.hnevc.yourhealthmanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnevc.yourhealthmanager.dto.SportRecordDTO;
import com.hnevc.yourhealthmanager.entity.HealthPlane;
import com.hnevc.yourhealthmanager.entity.SportRecord;
import com.hnevc.yourhealthmanager.entity.WeightRecord;

import java.util.List;

public interface SportRecordService extends IService<SportRecord> {

    List<SportRecordDTO> getSportRecordListByUserId(Integer userId);

    List<SportRecordDTO> getSportRecordListByHealthPlane(HealthPlane healthPlane);
    List<SportRecordDTO> getSportRecordListByPlaneMonth(HealthPlane healthPlane, Integer month, Integer year);

    SportRecord updatePic(Integer id, String filePath);
}
